﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Htinns.GatewayConsole.Models
{
	public class Article : ModelBase
	{
		public int Id { get; set; }

		public string Title { get; set; }

		public string Content { get; set; }

		public ICollection<Post> Posts { get; set; }
		
	}
	public class Post : ModelBase
	{
		public int Id { get; set; }
		
		public string Content { get; set; }

		public virtual Article Article { get; set; }
	
	}
}